<template>
  <a-card :bordered="false" type="inner" :body-style="{ padding: '0px' }"
    style="margin-bottom: 24px; box-shadow: none;">


    <!-- 上传审核Excel表单 -->
    <div class="upload-section">
      <h4>上传审核Excel</h4>
      <ExecExcel @file-selected="handleFileSelected" />
    </div>

  </a-card>
</template>

<script setup lang="ts">
import ExecExcel from '../ExecExcel.vue';

// 定义事件
const emit = defineEmits(['file-selected']);

// 处理文件选择
const handleFileSelected = (file: File) => {
  emit('file-selected', file);
};
</script>

<style scoped>
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.upload-section h4 {
  margin-bottom: 16px;
  color: #1a1a1a;
  font-size: 16px;
  font-weight: 500;
}
</style>
